# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'progress.ui'
#
# Created: Mon May 04 22:22:10 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ProgressUI(object):
	def setupUi(self, ProgressUI):
		ProgressUI.setObjectName("ProgressUI")
		ProgressUI.resize(520, 299)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(ProgressUI.sizePolicy().hasHeightForWidth())
		ProgressUI.setSizePolicy(sizePolicy)
		ProgressUI.setMinimumSize(QtCore.QSize(520, 210))
		ProgressUI.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
		icon = QtGui.QIcon()
		icon.addPixmap(QtGui.QPixmap(":/img/clock.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
		ProgressUI.setWindowIcon(icon)
		self.gridLayout = QtGui.QGridLayout(ProgressUI)
		self.gridLayout.setObjectName("gridLayout")
		self.verticalLayout_2 = QtGui.QVBoxLayout()
		self.verticalLayout_2.setSpacing(4)
		self.verticalLayout_2.setContentsMargins(-1, -1, -1, 2)
		self.verticalLayout_2.setObjectName("verticalLayout_2")
		self.label_1 = QtGui.QLabel(ProgressUI)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Preferred)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(self.label_1.sizePolicy().hasHeightForWidth())
		self.label_1.setSizePolicy(sizePolicy)
		self.label_1.setMinimumSize(QtCore.QSize(400, 0))
		self.label_1.setObjectName("label_1")
		self.verticalLayout_2.addWidget(self.label_1)
		self.progressBar_1 = QtGui.QProgressBar(ProgressUI)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(self.progressBar_1.sizePolicy().hasHeightForWidth())
		self.progressBar_1.setSizePolicy(sizePolicy)
		self.progressBar_1.setMinimumSize(QtCore.QSize(400, 16))
		self.progressBar_1.setMaximumSize(QtCore.QSize(16777215, 16))
		self.progressBar_1.setProperty("value", QtCore.QVariant(0))
		self.progressBar_1.setObjectName("progressBar_1")
		self.verticalLayout_2.addWidget(self.progressBar_1)
		self.label_2 = QtGui.QLabel(ProgressUI)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Preferred)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
		self.label_2.setSizePolicy(sizePolicy)
		self.label_2.setMinimumSize(QtCore.QSize(400, 0))
		self.label_2.setObjectName("label_2")
		self.verticalLayout_2.addWidget(self.label_2)
		self.progressBar_2 = QtGui.QProgressBar(ProgressUI)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(self.progressBar_2.sizePolicy().hasHeightForWidth())
		self.progressBar_2.setSizePolicy(sizePolicy)
		self.progressBar_2.setMinimumSize(QtCore.QSize(400, 16))
		self.progressBar_2.setMaximumSize(QtCore.QSize(16777215, 16))
		self.progressBar_2.setProperty("value", QtCore.QVariant(0))
		self.progressBar_2.setObjectName("progressBar_2")
		self.verticalLayout_2.addWidget(self.progressBar_2)
		self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
		self.verticalLayout = QtGui.QVBoxLayout()
		self.verticalLayout.setSpacing(4)
		self.verticalLayout.setObjectName("verticalLayout")
		self.bCancel = QtGui.QPushButton(ProgressUI)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(self.bCancel.sizePolicy().hasHeightForWidth())
		self.bCancel.setSizePolicy(sizePolicy)
		self.bCancel.setMinimumSize(QtCore.QSize(64, 24))
		icon1 = QtGui.QIcon()
		icon1.addPixmap(QtGui.QPixmap(":/img/cross_circle_frame.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
		self.bCancel.setIcon(icon1)
		self.bCancel.setObjectName("bCancel")
		self.verticalLayout.addWidget(self.bCancel)
		self.bMore = QtGui.QPushButton(ProgressUI)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(self.bMore.sizePolicy().hasHeightForWidth())
		self.bMore.setSizePolicy(sizePolicy)
		self.bMore.setMinimumSize(QtCore.QSize(64, 24))
		icon2 = QtGui.QIcon()
		icon2.addPixmap(QtGui.QPixmap(":/img/control-double-270.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
		icon2.addPixmap(QtGui.QPixmap(":/img/control-double-090.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
		self.bMore.setIcon(icon2)
		self.bMore.setCheckable(True)
		self.bMore.setAutoRepeat(False)
		self.bMore.setAutoDefault(False)
		self.bMore.setObjectName("bMore")
		self.verticalLayout.addWidget(self.bMore)
		self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)
		spacerItem = QtGui.QSpacerItem(500, 2, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
		self.gridLayout.addItem(spacerItem, 1, 0, 1, 2)
		self.text = QtGui.QTextBrowser(ProgressUI)
		sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
		sizePolicy.setHorizontalStretch(0)
		sizePolicy.setVerticalStretch(0)
		sizePolicy.setHeightForWidth(self.text.sizePolicy().hasHeightForWidth())
		self.text.setSizePolicy(sizePolicy)
		self.text.setMinimumSize(QtCore.QSize(500, 100))
		self.text.setFocusPolicy(QtCore.Qt.ClickFocus)
		self.text.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
		self.text.setAcceptDrops(False)
		self.text.setAcceptRichText(False)
		self.text.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
		self.text.setOpenLinks(False)
		self.text.setObjectName("text")
		self.gridLayout.addWidget(self.text, 2, 0, 1, 2)
		self.action_Clear = QtGui.QAction(ProgressUI)
		icon3 = QtGui.QIcon()
		icon3.addPixmap(QtGui.QPixmap(":/img/eraser.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
		self.action_Clear.setIcon(icon3)
		self.action_Clear.setObjectName("action_Clear")

		self.retranslateUi(ProgressUI)
		QtCore.QObject.connect(self.bMore, QtCore.SIGNAL("toggled(bool)"), self.text.setVisible)
		QtCore.QObject.connect(self.bCancel, QtCore.SIGNAL("clicked()"), ProgressUI.reject)
		QtCore.QMetaObject.connectSlotsByName(ProgressUI)

	def retranslateUi(self, ProgressUI):
		ProgressUI.setWindowTitle(QtGui.QApplication.translate("ProgressUI", "Progress", None, QtGui.QApplication.UnicodeUTF8))
		self.label_1.setText(QtGui.QApplication.translate("ProgressUI", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
		self.label_2.setText(QtGui.QApplication.translate("ProgressUI", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
		self.bCancel.setText(QtGui.QApplication.translate("ProgressUI", "  &Cancel", None, QtGui.QApplication.UnicodeUTF8))
		self.bMore.setText(QtGui.QApplication.translate("ProgressUI", "    &More", None, QtGui.QApplication.UnicodeUTF8))
		self.action_Clear.setText(QtGui.QApplication.translate("ProgressUI", "&Clear", None, QtGui.QApplication.UnicodeUTF8))

import sigui_rc

if __name__ == "__main__":
	import sys
	app = QtGui.QApplication(sys.argv)
	ProgressUI = QtGui.QDialog()
	ui = Ui_ProgressUI()
	ui.setupUi(ProgressUI)
	ProgressUI.show()
	sys.exit(app.exec_())

